﻿using System;

namespace ZYO
{
    public class ZyoException: ApplicationException
    {

        public ZyoException()
            : base()
        {

        }

        public ZyoException(String message)
            : base(message)
        {

        }

        public ZyoException(String message, Exception innerException)
            : base(message, innerException)
        {

        }

        public ZyoException(ZYObject thisObject, String message)
            : base(message)
        {
            this.Source = thisObject.ToString();
        }
    }
}
